package com.dhcc.bpm.modules.log.vo;

import com.dhcc.bpm.modules.log.entity.GatewayLog;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;

/**
 * @ClassName GatewayLogVO.class
 * @Description 网关访问记录表 视图实体类
 * @Author xiaFaYu
 * @Date 2019-12-16 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "GatewayLogVO对象", description = "网关访问记录表")
public class GatewayLogVO extends GatewayLog {
    private static final long serialVersionUID = 1L;
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private Long sysId;//系统id
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private Long baseProductId;//基础产品id
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private Long productId;//应用产品id
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private Long apiId;//api的id
    private String apiCode;
    private String apiName;
    private String[] apiCodes; // apiCode集合  查询用

    private String  startDate;
    private String  endDate;
    private int  isFrom;  //1 表示首页跳转用的

    private String equalValue;
}
